/*
 * spi_regs.h
 *
 *  Created on: 8 janv. 2014
 *      Author: crma
 */

#ifndef SPI_REGS_H_
#define SPI_REGS_H_



#define ALTERA_AVALON_SPI_RXDATA_REG                  0
#define IOADDR_ALTERA_AVALON_SPI_RXDATA(base)         __IO_CALC_ADDRESS_NATIVE(base, ALTERA_AVALON_SPI_RXDATA_REG)
#define IORD_ALTERA_AVALON_SPI_RXDATA(base)           IORD(base, ALTERA_AVALON_SPI_RXDATA_REG)
#define IOWR_ALTERA_AVALON_SPI_RXDATA(base, data)     IOWR(base, ALTERA_AVALON_SPI_RXDATA_REG, data)



#endif /* SPI_REGS_H_ */
